package com.yanfan.zutai.domain;

import com.yanfan.common.annotation.Excel;
import com.yanfan.common.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 通讯口配置对象 b_device_com_config
 *
 * @author ruoyi
 * @date 2023-06-10
 */
@Data
public class BDeviceComConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id唯一标识
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 设备编号
     */
    @Excel(name = "设备编号")
    private String deviceImei;

    /**
     * 通讯口
     */
    @Excel(name = "通讯口")
    private Integer comPort;

    /**
     * ip地址
     */
    @Excel(name = "ip地址")
    private String ipAddress;

    /**
     * 子网掩码
     */
    @Excel(name = "子网掩码")
    private String subnetMask;

    /**
     * 波特率
     */
    @Excel(name = "波特率")
    private Integer baudRate;

    /**
     * 数据位
     */
    @Excel(name = "数据位")
    private Integer dataBit;

    /**
     * 数据校验
     */
    @Excel(name = "数据校验")
    private Integer dataVerification;

    /**
     * 停止位
     */
    @Excel(name = "停止位")
    private Integer stopBit;

    /**
     * 网关地址
     */
    @Excel(name = "网关地址")
    private String gatewayAddress;

}
